@import "./back-base";
// 大多数详情页  表单通用 === start ==================================================================================================
.panel() {
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
}
a{
  font:inherit;
}
.inner-wrapper {
  margin-bottom: 50px;
  .panel();
  > h2 {
    padding: 2px 0 9px 0;
    font-size: 16px;
    color: @blueFontColor;
    border-bottom: 1px solid @borderLinkColor;
    .btn-gray-sm {
      position: relative;
      left: 80%;
    }
  }
  .col-sm-6 {
    input.datetime {
      width: 175px;
      background: url("../../img/icon/datetime-icon.png") no-repeat;
      background-position: 150px 5px;
      color: #555555;
      background-color: white;
    }
    &.pad-top3 {
      line-height: 27px;
    }
  }
  .col-sm-2 {
    &.left15 {
      padding-left: 15px;
    }
    img {
      height: 70px;
      float: left;
    }
    &.wid14 {
      width: 14%;
    }
  }
  .date-time-box {
    display: inline-block;
    height: 25px;
    line-height: 35px;
  }
  .default-a {
    color: @blueFontColor;
  }
  .location-img{
    width: 25px;
    position: relative;
    left: 1px;
    top: 20px;
  }
  .custom-menu {
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    overflow: hidden;
    background-color: #E8E9ED;
    &.active {
      background-color: @blueFontColor;
      color: #fff;
    }
    &:hover {
      background-color: @blueFontColor;
      color: #fff;
    }
  }
  .position-info {
    cursor: pointer;
    color: @blueFontColor;
    display: inline-block;
  }
  // 通用地图容器====================================================================================================
  .map-box {
    position: relative;
    left: 0;
    right: 0;
    bottom: 0;
    top: 18px;
    .common-map {
      height: 690px;
    }
  }
  .form-horizontal {
    padding: 20px 0;
    label.control-label {
      &:after {
        content: ':';
        padding: 0 0 0 5px;
        font-weight: bold;
      }
    }
    .form-group {
        .font-bold{
          font-weight: bold;
        }
        .left90{
          margin-left: 91px;
        }
      .left16 {
        margin-left: 15px;
      }
    }
    .form-control {
      display: inline-block;
      width: 300px;
      &.w500 {
        width: 500px;
      }
      &.error {
        border: 1px solid @activeBorderColor;
      }
      &.hide-show {
        display: none;
      }
      &.text-area {
        width: 452px;
        height: 200px;
        margin-top: 20px;
        resize: none;
        overflow-y: auto;
        word-wrap: break-word;
        .stress{
          color: @blueFontColor;
          font-weight: bold;
        }
      }
    }
    label.error {
      padding: 3px 0 0 10px;
      color: @dangerFontColor;
      font-weight: normal;
    }
    .form-group {
      .radio {
        label {

        }
        span {
          padding: 0 20px 0 0;
        }
      }
      span.interval-xs {
        display: inline-block;
        padding: 0 0 0 8px;
      }
      span.interval-lg {
        display: inline-block;
        padding: 0 0 0 35px;
      }
    }
    .edit-content {
      min-height: 500px;
    }
  }
}

// 首页 === start ======================================================================================================
div.homepage-wrapper {
  .count{
    padding:0;
    background: #fff;
    height: 98px;
    border-radius: 5px;
  }
  .order_icon,.alarm_icon{
    display: inline-block;
    vertical-align: top;
    width: 135px;
    height: 100%;
    position: relative;
    background: #3DB7D3;
    border-radius: 4px 0 0 4px;
    &:before {
      content: '';
      position: absolute;
      top: 18px;
      left: 35px;
      width: 60px;
      height: 60px;
    }
  }
  .order_icon {
    background: #3DB7D3;
    &:before {
      background: url("../../img/home/icon_weiwancheng.png") no-repeat;
    }
  }
  .alarm_icon {
    background: #ff6d5e;
    &:before {
      background: url("../../img/home/icon_chulizhong.png") no-repeat;
    }
  }
  .text {
    display: inline-block;
    line-height: 98px;
    width:70%;
    text-align: center;
    > .text_info{
      font-family: "Microsoft Yahei Light";
      display: inline-block;
      font-size: 26px;
      cursor: pointer;
      position:relative;
      color:#515872;
      > .number {
        position: absolute;
        top: 16px;
        left: 160px;
        color: #fff;
        width: 24px;
        height: 24px;
        line-height: 24px;
        font-size: 14px;
        border-radius: 50%;
        background-color: #e11e1e;
      }
    }
  }
  .homePage-table-container{
    width:1400px;
    margin-left: 30px;
    margin-bottom: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
    background: #fff;
    border-top: 5px solid #3DB7D3 ;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }
  .chartBtn{
    margin-right: 10px;
    /*width: 55px;*/
    height: 24px;
    z-index: 9999;
  }
  .activing{
    color: #fff;
    background-color:#0088DC;
    border-color: #009bdb;
  }
  .btn.chartBtn:focus {
    color: #fff;
    border-color: #009bdb;
  }
}

/*表格自定义高度*/
.groups-table-body,
.runLogs-table-body,
.operateLogs-table-body{
  max-height: 500px;
}

.img {
  display: inline-block;
  padding: 1px;
  margin-right: 20px;
  position: relative;
  min-width: 116px;
  min-height: 115px;
  border: 1px solid @borderLinkColor;
  cursor: pointer;
  vertical-align: top;
  &:hover {

  }
  .before {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 50px;
    height:0;
    text-align: center;
  }
  > span {
    display: block;
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    text-align: center;
    a {
      padding: 0 0 0 10px;
    }
  }
}

/*百度搜索的地址下拉样式——yang20180329*/
.address_list{
  position: absolute;
  border: 1px solid #e2e2e2;
  background: #fff;
  top:30px;
  left:0;
  z-index:100;
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  li{
    line-height: 28px;
    padding:3px 5px;
    border-bottom: 1px solid #e2e2e2;
    width:298px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
  }
}